﻿@model UscSunShine.Models.Post

@{
    ViewBag.Title = "删除图片新闻";
}

<h3>确定删除?</h3>
<div>

    <hr />
    <dl class="dl-horizontal">
        @*<dt>
                @Html.DisplayNameFor(model => model.Department.Name)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Department.Name)
            </dd>*@

        <dt>
            @Html.DisplayNameFor(model => model.Title)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Title)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.Content)
        </dt>

        <dd>
            @Html.TextBoxFor(model => model.Content)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.InputDate)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.InputDate)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.ViewTimes)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.ViewTimes)
        </dd>

        @*<dt>
                @Html.DisplayNameFor(model => model.PostCategory)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.PostCategory)
            </dd>*@

    </dl>

    @using (Html.BeginForm())
    {
        @Html.AntiForgeryToken()

        <div class="form-actions no-color">
            <input type="submit" value="删除" class="btn btn-danger" /> |
            @Html.ActionLink("返回图片新闻列表", "Index")
        </div>
    }
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
    <link rel="stylesheet" href="~/KindEditor/themes/default/default.css" />
    <link rel="stylesheet" href="~/KindEditor/plugins/code/prettify.css" />
    <script charset="utf-8" src="~/KindEditor/kindeditor-min.js"></script>
    <script type="text/javascript" src="~/KindEditor/lang/zh_CN.js"></script>
    <script charset="utf-8" src="~/KindEditor/plugins/code/prettify.js"></script>
    <script type="text/javascript" src="~/Scripts/usc-content-readonly.js"></script>
}